﻿
@{ IList<FCDB.Web.Models.ActivityEntityModel> modelList = (IList<FCDB.Web.Models.ActivityEntityModel>)ViewBag.ActivityCheckLogs;
   foreach (FCDB.Web.Models.ActivityEntityModel item in modelList)
   {
       Guid CurrentActivityGuid = new Guid((string)ViewBag.CurrentActivityGuid);
       if (CurrentActivityGuid != item.ActivityGUID)
       {

           if (item.CheckState != 0) 
           {   
    <tr style="height: 28px; width: 40px;  ">
        <td>@item.ActivityName</td>
        <td>
            @(item.CheckState == 1 ? "同意" : "不同意")
            <br />
            @item.CheckContent
        </td>
        <td>
            @item.CheckUserName
        </td>
    </tr>
           }
           else
           {
    <tr style="height: 28px; width: 40px; ">
        <td>@item.ActivityName</td>
        <td></td>
        <td></td>
    </tr>
           }
       }
       else
       {
    <tr style="height: 36px; width: 40px;  ">
        <td>@item.ActivityName</td>
        <td>
            <table>
                <tr>
                    <td>同意<input id="txtCheckState" checked="checked" type="radio" name="CheckState" value="1" />
                        不同意<input id="txtCheckState" type="radio" name="CheckState" value="2" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <textarea id="txtCheckContent" name="CheckContent" class="in_c1"  style="width: 98%; height: 30px;" rows="2"></textarea>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
       }
   }
   }